Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes the default behavior of creating new child descriptions #1559

Open
wants to merge 1 commit into
base: qa/2.x
Choose a base branch
from

Conversation

willian95cs
Copy link

Changes the default behavior of creating new child descriptions for descriptions
that already have a digital object

When importing digital objects via the command line, the default behavior is to create
new child descriptions when multiple lines point to the same description. However,
there may be cases where the user has mistakenly duplicated identifiers and new descriptions
start to pollute the database. Therefore, not adding the --attach-only option has the
same effect as adding it.

Changing this, the default behavior is now to inform the user about duplicate lines
that point to a description that already has a digital object, indicating that a
digital object already exists for that identifier. If the user wants, he can use
the --attach-only option to change the behavior of the task that will add child
descriptions to attach the digital object.

…escriptions that already have a digital object
@willian95cs willian95cs changed the title WIP: Changes the default behavior of creating new child descriptions Changes the default behavior of creating new child descriptions Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant